package ca.venasse.pinventory.inventory.event;

import org.axonframework.domain.DomainEvent;

import ca.venasse.pinventory.common.Quantity;
import ca.venasse.pinventory.inventory.common.PartIdentifier;

public class LossRecorded extends DomainEvent {

	private static final long serialVersionUID = 1L;

	private final PartIdentifier partIdentifier;
	private final Quantity quantity;

	public LossRecorded(PartIdentifier partIdentifier, Quantity quantity) {
		this.partIdentifier = partIdentifier;
		this.quantity = quantity;
	}

	public PartIdentifier getPartIdentifier() {
		return this.partIdentifier;
	}

	public Quantity getQuantity() {
		return this.quantity;
	}

}
